package com.site.model.dining;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 * 餐厅收藏
 * @author jack
 */
@Entity
@Table(name="t_collect_restaurant")
public class CollectRestaurantInfo implements Serializable{
	
	private static final long serialVersionUID = -7017764529155736470L;
	
	private Long id;
	/*
	 * 餐厅编号
	 */
	private String rno;
	/*
	 * 会员编号
	 */
	private float mno;
	/*
	 * 收藏时间
	 */
	private String createdDate;
	
	@Id
	@GeneratedValue
	@Column(name="ID")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	@Column(name="R_NO")
	public String getRno() {
		return rno;
	}
	public void setRno(String rno) {
		this.rno = rno;
	}
	@Column(name="M_NO")
	public float getMno() {
		return mno;
	}
	public void setMno(float mno) {
		this.mno = mno;
	}
	@Column(name="CREATED_DATE")
	public String getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(String createdDate) {
		this.createdDate = createdDate;
	}
}
